﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LY.Entity;
using LY.Entity.Entities;
using LY.Entity.PageSearch;
using LY.Entity.SearchEntity;
using LY.Entity.Jsons;

namespace LY.Interface
{
    public interface ISystemService
    {
        /// <summary>
        /// 用户列表
        /// </summary>
        /// <param name="search"></param>
        /// <param name="view"></param>
        /// <returns></returns>
        PagedList<S_User> QueryUserList(UserSearch search, PageView view);

        //用户实体
        S_User GetUser(int? id);

        //用户登录
        S_User LoginUser(string Name, string pwd);

        //保存用户
        int SaveUser(S_User user);

        //删除用户
        int DeleteUser(int? id);
    }
}


